home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 1726 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.4 KB

  1. Date: Wed, 20 Jul 94 18:33 MET DST
  2. From: knarf@nasim.cube.net (Frank Bartels)
  3. To: mint@atari.archive.umich.edu
  4. Subject: Re: /dev/kmem
  5. Newsgroups: nasim.lists.mint
  6. Organization: The Sunsite for ATARI-Friends
  7. X-Newsreader: TIN [version 1.2 PL2]
  8.  
  9. In article <9407200826.AA02175@hpbeo79.bbn.hp.com> you wrote:
  10.  
  11. > I think one advantage is that the kernel has more control over what it
  12. > publishes in /proc, and that the /proc device is visible to the user
  13. > for simple manipulations such as in the MultiTOS desktop.
  14.  
  15. I think there is no reason to remove /proc after /dev/kmem is implemented.
  16.  
  17. > I'm not sure, however, what a /dev/kmem offers. If it opens up the
  18. > complete kernel address space to other processes, I would definitely
  19. > prefer the /proc approach since it seems safer to me.
  20.  
  21. /dev/kmem is usually not world readable, it's only readable bye the
  22. kmem-group. Thinks like ps and top are sgid-kmem (SunOS 4):
  23.  
  24. -rwxr-sr-x  1 root     kmem        36040 Oct 14  1990 /bin/ps*
  25. crw-r-----  1 root     kmem       3,   1 Jan 25 23:42 /dev/kmem
  26. -rwxr-sr-x  1 root     kmem        49152 Feb  2 02:08 /usr/local/bin/top*
  27.  
  28. BTW: The same feature is used here for df and the group operator:
  29.  
  30. -rwxr-sr-x  1 root     operator     7904 Oct 14  1990 /bin/df*
  31. crw-r-----  1 root     operator  17,   2 Jan 25 23:42 /dev/rsd0c
  32.  
  33. Bye,
  34. Knarf
  35. --
  36.     Frank Bartels    |      UUCP/ZModem: + 49 89 5469593       | MiNT is
  37. knarf@nasim.cube.net | Login: nuucp Index: /pub/ls-lR.nasim.gz | Now TOS!
  38.